import { Request } from "../dist/esm/index.js";

const resource = new Request("https://www.baidu.com");
resource
  .GET("/sugrec", {
    prod: "pc",
    wd: "hello world",
  })
  .then(console.log);